package com.nt.oam.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nt.common.annotation.Excel;
import com.nt.common.core.domain.BaseEntity;

/**
 * 运维记录对象 ant_hospital_oam_record
 *
 * @author JZFeng
 * @date 2025-02-05
 */
@TableName(resultMap = "com.nt.oam.mapper.AntHospitalOamRecordMapper.AntHospitalOamRecordResult" )
public class AntHospitalOamRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 运维记录表
     */
    @TableId(value = "oam_record_id" , type = IdType.AUTO)
    private Long oamRecordId;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 医院名称
     */
    @Excel(name = "医院名称" )
    private String hospitalName;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称" )
    private String projectName;

    /**
     * 运维类型
     */
    @Excel(name = "运维类型" )
    private String oamType;

    /**
     * 问题详情
     */
    @Excel(name = "问题详情" )
    private String concreteProblem;

    /**
     * 上传图片
     */
    private String uploadImages;

    /**
     * 上传文件
     */
    private String uploadFiles;

    /**
     * 提出时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd" )
    @Excel(name = "提出时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date putTime;

    /**
     * 提出人
     */
    @Excel(name = "提出人员" )
    private String putPerson;

    /**
     * 处理状态
     */
    @Excel(name = "处理状态" )
    private String processingState;

    /**
     * 处理人
     */
    @Excel(name = "处理人员" )
    private String processingPerson;

    /**
     * 处理方法
     */
    @Excel(name = "处理方法" )
    private String processingOption;

    /**
     * 处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd" )
    @Excel(name = "处理时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date handleTime;

    /**
     * 备注信息
     */
    @Excel(name = "备注信息" )
    private String remarkMessage;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 是否正在修改, 0-不在修改， 1-正在修改
     */
    private Integer isModify;

    /**
     * 资产类型
     */
    private Integer assetType;
    /**
     *处理方法标签
     */
    private Integer handleLable;

    public void setOamRecordId(Long oamRecordId) {
        this.oamRecordId = oamRecordId;
    }

    public Long getOamRecordId() {
        return oamRecordId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setOamType(String oamType) {
        this.oamType = oamType;
    }

    public String getOamType() {
        return oamType;
    }

    public void setConcreteProblem(String concreteProblem) {
        this.concreteProblem = concreteProblem;
    }

    public String getConcreteProblem() {
        return concreteProblem;
    }

    public void setUploadImages(String uploadImages) {
        this.uploadImages = uploadImages;
    }

    public String getUploadImages() {
        return uploadImages;
    }

    public void setUploadFiles(String uploadFiles) {
        this.uploadFiles = uploadFiles;
    }

    public String getUploadFiles() {
        return uploadFiles;
    }

    public void setPutTime(Date putTime) {
        this.putTime = putTime;
    }

    public Date getPutTime() {
        return putTime;
    }

    public void setPutPerson(String putPerson) {
        this.putPerson = putPerson;
    }

    public String getPutPerson() {
        return putPerson;
    }

    public void setProcessingState(String processingState) {
        this.processingState = processingState;
    }

    public String getProcessingState() {
        return processingState;
    }

    public void setProcessingPerson(String processingPerson) {
        this.processingPerson = processingPerson;
    }

    public String getProcessingPerson() {
        return processingPerson;
    }

    public void setProcessingOption(String processingOption) {
        this.processingOption = processingOption;
    }

    public String getProcessingOption() {
        return processingOption;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setRemarkMessage(String remarkMessage) {
        this.remarkMessage = remarkMessage;
    }

    public String getRemarkMessage() {
        return remarkMessage;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsModify(Integer isModify) {
        this.isModify = isModify;
    }

    public Integer getIsModify() {
        return isModify;
    }
    public void setAssetType(Integer assetType) {
        this.assetType = assetType;
    }

    public Integer getAssetType() {
        return assetType;
    }
    public void setHandleLable(Integer handleLable) {
        this.handleLable = handleLable;
    }

    public Integer getHandleLable() {
        return handleLable;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("oamRecordId" , getOamRecordId())
                .append("hospitalId" , getHospitalId())
                .append("projectId" , getProjectId())
                .append("hospitalName" , getHospitalName())
                .append("projectName" , getProjectName())
                .append("oamType" , getOamType())
                .append("concreteProblem" , getConcreteProblem())
                .append("uploadImages" , getUploadImages())
                .append("uploadFiles" , getUploadFiles())
                .append("putTime" , getPutTime())
                .append("putPerson" , getPutPerson())
                .append("processingState" , getProcessingState())
                .append("processingPerson" , getProcessingPerson())
                .append("processingOption" , getProcessingOption())
                .append("handleTime" , getHandleTime())
                .append("remarkMessage" , getRemarkMessage())
                .append("createTime" , getCreateTime())
                .append("createPerson" , getCreatePerson())
                .append("updateTime" , getUpdateTime())
                .append("updatePerson" , getUpdatePerson())
                .append("isDeleted" , getIsDeleted())
                .append("isModify" , getIsModify())
                .append("assetType" , getAssetType())
                .append("handleLable" , getHandleLable())
                .toString();
    }
}
